package cn.micro.eye.type;

import cn.micro.eye.commons.validate.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.List;

/**
 * 用户类别
 *
 * @author lry
 */
@Getter
@AllArgsConstructor
public enum MemberCategoryEnum implements IEnum {

    ORDINARY(1, "普通"),
    STUDENT(2, "学生"),
    EXPERT(3, "专家"),
    PROFESSOR(4, "教授"),
    LESSEE(5, "机构");

    public static final List<Integer> GROUP = Arrays.asList(1, 2, 3, 4, 5);

    private final int value;
    private final String title;

}
